package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 瓷砖对象 sys_brick
 * 
 * @author Yanghc
 * @date 2024-08-16
 */
public class SysBrick extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 大小型号 */
    @Excel(name = "大小型号")
    private String size;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 花纹 */
    @Excel(name = "花纹")
    private String figure;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSize(String size) 
    {
        this.size = size;
    }

    public String getSize() 
    {
        return size;
    }

    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setFigure(String figure) 
    {
        this.figure = figure;
    }

    public String getFigure() 
    {
        return figure;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("size", getSize())
            .append("color", getColor())
            .append("img", getImg())
            .append("figure", getFigure())
            .toString();
    }
}
